/*package cn.wx.scholar.es.service;

import java.util.List;
import org.springframework.data.domain.Page;
import org.springframework.data.elasticsearch.core.query.SearchQuery;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import cn.wx.scholar.es.entity.indices.EsFoeIndices;

*//**
 * 领域 机构专家 多索引查询
 * @author Administrator
 *
 *//*
@Service
@Transactional
public class EsFoeIndicesService extends EsBaseService {

	
	private final static String[] SEARCH_FIELD = { "eName" };
	
	
	public List<EsFoeIndices> queryFoeIndecex(String value) {
		*//**
		 * 定义查询的索引
		 *//*
		String[] indices = {"es_org","es_field"};
		
		*//**
		 * 获取查询对象
		 *//*
		SearchQuery searchQuery = super.getSearchQueryWithFields(value, SEARCH_FIELD, null, indices);
		
		*//**
		 * 查询
		 *//*
		Page<EsFoeIndices> page = super.queryPage(searchQuery, EsFoeIndices.class);
		return page.getContent();
	}
	
}
*/